export const BASE = 'packageIPersonalCenterMain_';

export enum Command {
  //通用修改数据方法
  commonChange = 'packageIPersonalCenterMain_commonChange',
  init = 'packageIPersonalCenterMain_INIT',
  clean = 'packageIPersonalCenterMain_CLEAN',
}

export const IMAGE_EMPTY = 'https://ruizhi-ipland.oss-cn-nanjing.aliyuncs.com/gameBase/gameOnError.png';

export const NO_DATASOURCE = 'https://ruizhi-ipland.oss-cn-nanjing.aliyuncs.com/gameBase/emptyGrey.png';

// 推荐内容类型
export const RECOMMENT_TYPE = {
  product: 0, // 商品
  game: 1, // 游戏
};

// 跳转设置
export const GAME_URL_SETTING = {
  0: {
    url: '/pages/package-I/goldCoinsIndex/index',
  },
  1: {
    url: '',
  },
  2: {
    url: '',
  },
  3: {
    url: '/pages/package-I/catchPlaything/index',
  },
  4: {
    url: '/pages/package-I/syntheticCardIp/index',
  },
  5: {
    url: '/pages/package-I/scratch/index',
  },
};

// 任务赠送游戏次数专属游戏
export const GAME_TYPE_ = {
  goldCoin: 0, // 金币雨
  blindbox: 1, // 魔力抽盲盒
  magicAward: 2, // 魔力赏
  catchPlaything: 3, // 魔力抓娃娃
  syntheticCard: 4, // 抽抽卡
  scratch: 5, // 刮刮乐
};
